package cfca.seal.dao.main;

import cfca.seal.bean.Seal;
import cfca.seal.bean.SealUser;
import cfca.seal.common.Page;
import java.util.List;

public abstract interface ISealDao
{
  public abstract boolean insert(Seal paramSeal)
    throws Exception;

  public abstract boolean update(Seal paramSeal)
    throws Exception;

  public abstract boolean deleteById(String paramString)
    throws Exception;

  public abstract Seal getSealById(String paramString)
    throws Exception;

  public abstract Seal getSealByCode(String paramString)
    throws Exception;

  public abstract List<Seal> getAll()
    throws Exception;

  public abstract List<Seal> getSealBySealCertId(String paramString)
    throws Exception;

  public abstract List<Seal> getAllCanUsed(String paramString)
    throws Exception;

  public abstract boolean updateStatus(String paramString1, String paramString2)
    throws Exception;

  public abstract boolean removeBind(String paramString)
    throws Exception;

  public abstract List<String> getBindUserId(String paramString)
    throws Exception;

  public abstract List<Seal> getByCount(int paramInt)
    throws Exception;

  public abstract Page<Seal> getPage(Seal paramSeal, String paramString1, String paramString2)
    throws Exception;

  public abstract List<Seal> getAllCanUsedForShow(String paramString)
    throws Exception;

  public abstract boolean bindUser(List<SealUser> paramList)
    throws Exception;

  public abstract List<Seal> getSealByCertDnAndCertSn(String paramString1, String paramString2)
    throws Exception;
}